package cn.sylinx.hbatis.db.dialect.fs;

import cn.sylinx.hbatis.db.common.FS;

public class MysqlFS<T> extends FS<T> {

	public static <T> FS<T> of(Class<T> modelClass) {
		return new MysqlFS<T>().init(modelClass);
	}

	public static <T> FS<T> of(Class<T> modelClass, String tablePostfix) {
		return new MysqlFS<T>().init(modelClass, tablePostfix);
	}

	public static <T> FS<T> of(String tablePrefix, Class<T> modelClass) {
		return new MysqlFS<T>().init(tablePrefix, modelClass);
	}

	public static <T> FS<T> of(String tablePrefix, Class<T> modelClass, String tablePostfix) {
		return new MysqlFS<T>().init(tablePrefix, modelClass, tablePostfix);
	}

	@Override
	protected String[] getEscape() {
		return new String[] { "`", "`" };
	}
}
